package com.system.healthproject.model.admin.paramsbean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel()
public class LoginParams {
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(name = "username",notes = "用户名",dataType = "String",required = true)
    private String username;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(name = "password",notes = "密码",dataType = "String",required = true)
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
